Xbasic

MathUtil::DecimalSubtract Method

Syntax

.Subtract as C (one as C, two as C)

Arguments

oneCharacter

The value to subtract from.

twoCharacter

The value to subtract.

Returns

resultCharacter

Returns the difference of the two values as a character string.

Description

Subtracts one value from another.

Example

? MathUtil::Decimal::Subtract("1.20","2.30")
= "-1.10"